//
//  NSString+Extension.h
//  Potatso
//
//  Created by MasterLambert on 2017/5/9.
//  Copyright © 2017年 TouchingApp. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Extension)

- (NSDictionary *)dictionaryWithJsonString;

- (NSString *) compareAppstoreVersionWithLocal;

- (NSMutableArray *)stringWithJsonArray;

- (NSTimeInterval) timeDiffence:(NSString *) time;

/**
 用*替换中间的子串

 @return 字符串
 */
- (NSString *) replaceMidString;

/**
 手机账号格式判断

 @return 是否是正确的手机格式
 */
//- (BOOL) verifyPhoneNumber;

- (BOOL) compareLocalVersionLessThanAppstoreVersion;

- (NSString *) iphoneOrIpadNumberStoryBoard;

- (NSArray *) getProvince;

@end
